<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>测试跨域</title>
    <script src="./axios.min.js"></script>
<!--    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->
    <script>
        //1.发送异步请求
        axios.get("http://127.0.0.1:8080/demo");
    </script>
</head>
<body>
<h1>用来测试跨域</h1>
</body>
</html>
